try:
    a=int(input("请输入数字:"))
    res=8/a
    print(res)
except Exception as e:
    print(f"异常捕获类型有:{e}")
finally:
    pass